package org.yuyao.biz1.providerclient;

import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class RemoteUserClientFallbackFactory implements FallbackFactory<RemoteUserClient> {
    @Override
    public RemoteUserClient create(Throwable cause) {
        return ()->"调用服务失败";
    }
}
